package com.kakarote.examine.entity.PO;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 审批高级配置-节点限时处理配置表
 * </p>
 *
 * @author zyl
 * @since 2022-08-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wk_examine_advanced_config_limit_time")
@ApiModel(value = "ExamineAdvancedConfigLimitTime对象", description = "审批高级配置-节点限时处理配置表")
public class ExamineAdvancedConfigLimitTime implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "限时处理id")
    @TableId(value = "limit_time_handle_id", type = IdType.ASSIGN_ID)
    private Long limitTimeHandleId;

    @ApiModelProperty(value = "审核id")
    private Long examineId;

    @ApiModelProperty(value = "高级配置id")
    private Long advancedConfigId;

    @ApiModelProperty(value = "处理方式：自动提醒，自动转交")
    private Integer handleType;

    @ApiModelProperty(value = "审批方式：依次审批，会签，或签")
    private Integer examineType;

    @ApiModelProperty(value = "超多少时间自动处理")
    private Double limitTime;

    @ApiModelProperty(value = "超多少时间自动处理-单位:minute:分钟，hour小时，day天")
    private String limitTimeUnit;

    @ApiModelProperty(value = "创建人")
    @TableField(fill = FieldFill.INSERT)
    private Long createUserId;

    @ApiModelProperty(value = "修改人")
    private Long updateUserId;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;


    @ApiModelProperty(value = "批次id")
    private String batchId;


}
